package com.dean.entity;

public class SftpConnectInfo {
    private String host;
    private int port;
    private String username;
    private String prikeyFilePath;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPrikeyFilePath() {
        return prikeyFilePath;
    }

    public void setPrikeyFilePath(String prikeyFilePath) {
        this.prikeyFilePath = prikeyFilePath;
    }

    public SftpConnectInfo(String host, int port, String username, String prikeyFilePath) {
        this.host = host;
        this.port = port;
        this.username = username;
        this.prikeyFilePath = prikeyFilePath;
    }

    public SftpConnectInfo(String host, String username, String prikeyFilePath) {
        this.host = host;
        this.port =22;
        this.username = username;
        this.prikeyFilePath = prikeyFilePath;
    }

    public SftpConnectInfo() {
    }
}
